#ifndef BRUSHESDOCK_H
#define BRUSHESDOCK_H

#include <QDockWidget>

class FlowLayout;
class QToolButton;

class BrushesDock : public QDockWidget
{
    Q_OBJECT
public:
    explicit BrushesDock(const QString &title, QWidget *parent = Q_NULLPTR,
                         Qt::WindowFlags flags = Qt::WindowFlags());
    virtual ~BrushesDock();

public slots:
    void PixelButtonSlot();
    void BlockButtonSlot();
    void HardnessButtonSlot();

private:
    void initSettingWidget();
    void connetSignalToSlots();
    QToolButton* addToolButton(const QString &brushname);

private:
    QWidget* m_pBrushesDockWidget;
    FlowLayout *m_pFlowLayout;

    QToolButton *m_pPixelButton;
    QToolButton *m_pBlockButton;
    QToolButton *m_pHardnessButton;
};

#endif // BRUSHESDOCK_H
